<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
    <link rel="shortcut icon" type="image/x-icon" href="assets/img/favicon.ico">
    <title>Preclinic - Medical & Hospital - Bootstrap 4 Admin Template</title>
    <link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="assets/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="assets/css/dataTables.bootstrap4.min.css">
    <link rel="stylesheet" type="text/css" href="assets/css/style.css">
    <!--[if lt IE 9]>
		<script src="assets/js/html5shiv.min.js"></script>
		<script src="assets/js/respond.min.js"></script>
	<![endif]-->
</head>

<body>

            <div class="content">
                <div class="row">
                    <div class="col-sm-5 col-4">
                        <h4 class="page-title">工资</h4>
                    </div>
                    <div class="col-sm-7 col-8 text-right m-b-30">
                        <div class="btn-group btn-group-sm">
                            <button class="btn btn-white">CSV</button>
                            <button class="btn btn-white">PDF</button>
                            <button class="btn btn-white"><i class="fa fa-print fa-lg"></i> Print</button>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-12">
                        <div class="card-box">
                            <h4 class="payslip-title"><span class="mon"></span>工资单</h4>
                            <div class="row">
                                <div class="col-sm-6 m-b-20">
                                    <img src="assets/img/logo-dark.png" class="inv-logo" alt="">
                                    <ul class="list-unstyled mb-0">
                                        <li class="employeeSicken"></li>
                                        <li class="employeeAddress"></li>
                                        <li class="employeeMobile"></li>
                                    </ul>
                                </div>
                                <div class="col-sm-6 m-b-20">
                                    <div class="invoice-details">
                                        <h3 class="text-uppercase">工资单编号： <span class="id"></span></h3>
                                        <ul class="list-unstyled">
                                            <li>工资月份: <span class="mon"></span></li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-lg-12 m-b-20">
                                    <ul class="list-unstyled">
                                        <li>
                                            <h5 class="mb-0"><strong class="employeeName"></strong></h5></li>
                                        <li><span class="employeeRole"></span></li>
                                        <li>员工编号: <span class="employeeId"></span></li>
                                        <li>入职日期: <span class="employeeJoin"></span></li>
                                    </ul>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div>
                                        <h4 class="m-b-10"><strong>工资</strong></h4>
                                        <table class="table table-bordered">
                                            <tbody>
                                                <tr>
                                                    <td><strong>基本工资</strong> <span class="float-right">￥<span class="base"></span></span></td>
                                                </tr>
                                                <tr>
                                                    <td><strong>房屋租金补贴</strong> <span class="float-right">￥<span class="houserent"></span></span></td>
                                                </tr>
                                                <tr>
                                                    <td><strong>通勤补贴</strong> <span class="float-right">￥<span class="conveyance"></span></span></td>
                                                </tr>
                                                <tr>
                                                    <td><strong>餐补</strong> <span class="float-right">￥<span class="mealsub"></span></span></td>
                                                </tr>
                                                <tr>
                                                    <td><strong>共发放</strong> <span class="float-right">￥<strong class="totalsal"></strong></span></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div>
                                        <h4 class="m-b-10"><strong>扣减</strong></h4>
                                        <table class="table table-bordered">
                                            <tbody>
                                                <tr>
                                                    <td><strong>基本扣税</strong> <span class="float-right">￥<span class="sourceded"></span></span></td>
                                                </tr>
                                                <tr>
                                                    <td><strong>公积金</strong> <span class="float-right">￥<span class="profund"></span></span></td>
                                                </tr>
                                                <tr>
                                                    <td><strong>保险金</strong> <span class="float-right">￥<span class="insurance"></span></span></td>
                                                </tr>
                                                <tr>
                                                    <td><strong>贷款偿还</strong> <span class="float-right">￥<span class="loan"></span></span></td>
                                                </tr>
                                                <tr>
                                                    <td><strong>总共扣减</strong> <span class="float-right">￥<strong class="totalded"></strong></span></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                                <div class="col-sm-12">
                                    <p><strong>实发工资: ￥<span class="actual"></span></strong></p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
    <div class="sidebar-overlay" data-reff=""></div>
    <script src="assets/js/jquery-3.2.1.min.js"></script>
	<script src="assets/js/popper.min.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>
    <script src="assets/js/jquery.slimscroll.js"></script>
    <script src="assets/js/app.js"></script>
	<!--json data-->
	<script type="text/javascript" src="json/salary_view.json"></script>
	<script type="text/javascript">
	$(document).ready(function () {
		for(key in salary){
			$("." + key).html(salary[key]);
			
		}
	});
	</script>
</body>

</html>